package com.lanou.bean;

public class Student {
    private  Integer id;

    private  String sname;
    private Integer status;
    private Account account;


    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", sname='" + sname + '\'' +
                ", status=" + status +
                ", account=" + account +
                '}';
    }

    public Student(Integer id, String sname, Integer status, Account account) {

        this.id = id;
        this.sname = sname;
        this.status = status;
        this.account = account;
    }

    public Student() {
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}



